package com.xhj.sportsnews.bean;

import java.util.List;

/**
 * Created by Administrator on 2016/12/20.
 */

public class Gaming {
    private Data data;

    public Data getData() {
        return data;
    }

    public void setData(Data data) {
        this.data = data;
    }

    public class Data{
        private List<Contents> contents;

        public List<Contents> getContents() {
            return contents;
        }

        public void setContents(List<Contents> contents) {
            this.contents = contents;
        }

        public class Contents{
            private String title;
            private String text;
            private String image;
            private List<String> images;
            private String createTime;
            private int image_type;
            private int note_num;
            private User user;
            private String link;
            private List<Channels> channels;

            public List<String> getImages() {
                return images;
            }

            public void setImages(List<String> images) {
                this.images = images;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public String getText() {
                return text;
            }

            public void setText(String text) {
                this.text = text;
            }

            public String getCreateTime() {
                return createTime;
            }

            public void setCreateTime(String createTime) {
                this.createTime = createTime;
            }

            public String getImage() {
                return "http://lifeixphoto.qiniudn.com/"+image;
            }

            public void setImage(String image) {
                this.image = image;
            }

            public int getImage_type() {
                return image_type;
            }

            public void setImage_type(int image_type) {
                this.image_type = image_type;
            }

            public int getNote_num() {
                return note_num;
            }

            public void setNote_num(int note_num) {
                this.note_num = note_num;
            }

            public User getUser() {
                return user;
            }

            public void setUser(User user) {
                this.user = user;
            }

            public String getLink() {
                return link;
            }

            public void setLink(String link) {
                this.link = link;
            }

            public List<Channels> getChannels() {
                return channels;
            }

            public void setChannels(List<Channels> channels) {
                this.channels = channels;
            }

            public class User{
                private String name;
                private String photopath;

                public String getName() {
                    return name;
                }

                public void setName(String name) {
                    this.name = name;
                }

                public String getPhotopath() {
                    return photopath;
                }

                public void setPhotopath(String photopath) {
                    this.photopath = photopath;
                }
            }
             public class Channels{
                 private int id;
                 private String channelsName;
                 private String logo;

                 public int getId() {
                     return id;
                 }

                 public void setId(int id) {
                     this.id = id;
                 }

                 public String getChannelsName() {
                     return channelsName;
                 }

                 public void setChannelsName(String channelsName) {
                     this.channelsName = channelsName;
                 }

                 public String getLogo() {
                     return logo;
                 }

                 public void setLogo(String logo) {
                     this.logo = logo;
                 }
             }
        }
    }
}
